<template>
    <div>
        <h2>this is News page!</h2>
        <p>{{$route.params.a}}</p>
        <p>{{$route.params.b}}</p>
        <router-view />
    </div>
</template>

<script>   //只可以出现一个
//export 导出
export default{
    data(){
        return {};
    },
    methods:{},
    components:{},
}
</script>

<style scoped lang="scss">  //可以出现多个

</style>